#!/usr/bin/perl
#
for($K=1;$K<=30;$K++) {
	`perl scripts/computeBestOrder.pl $K < reorders/reorderRules.10k.sort.txt > reorders/reorderRules.10k.BestOrder.$K.txt`;
	$out = `perl scripts/countRulesMatch.pl reorders/reorderRules.10k.BestOrder.$K.txt 0 < reorders/reorderRules.1k.txt`;
	print $K." ".$out;
}
